package com.lh.web.service.impl.period;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lh.common.entity.admin.Period;
import com.lh.web.dao.admin.PeriodMapper;
import com.lh.web.service.serviceAdmin.period.PeriodService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @author FH
 * @ClassName: PeriodServiceImpl
 * @Description: (类作用)
 * @date: 2019-08-13 14:16
 */
@Service
@Slf4j
public class PeriodServiceImpl extends ServiceImpl<PeriodMapper, Period> implements PeriodService {
    private static final long BEGINCODE = 100000000;
    private static final Lock LOCK = new ReentrantLock();

    @Override
    public Period queryPeriod(Map<String, Object> params) {
        return this.baseMapper.queryPeriod(params);
    }
}
